package com.sinothk.fc.storeSupplier.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sinothk.fc.storeSupplier.entity.StoreSupplierEntity;
import com.sinothk.fc.storeSupplier.entity.StoreSupplierReq;
import com.sinothk.fc.storeSupplier.entity.StoreSupplierVO;

/**
 * @Description: 门店供应商
 * @Author: Liangyt
 * @Date:   2022-10-29
 * @Version: V1.0
 */
public interface IStoreSupplierService extends IService<StoreSupplierEntity> {

    boolean supplierAdd(String supplierId) throws Exception;

    IPage<StoreSupplierVO> storeSupplierPage(Page<StoreSupplierEntity> page, StoreSupplierReq req) throws Exception;

    StoreSupplierEntity getStoreSupplierEntityBySupplierId(String supplierId) throws Exception;

    StoreSupplierEntity supplierLocalAdd(StoreSupplierEntity storeSupplier) throws Exception;
}
